﻿using System.Data.Entity.ModelConfiguration;

namespace BookShop.DTO.Mapping
{
    public class CategoryMap : EntityTypeConfiguration<Category>
    {
        public CategoryMap()
        {
            HasKey(s => s.Id);
            ToTable("Category");
        }
    }
}
